using Hhmocon.Mes.Repository.Domain;
using Hhmocon.Mes.Repository.Domain.Energy;
﻿using Hhmocon.Mes.Application.Response;
using Hhmocon.Mes.Repository.Response;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hhmocon.Mes.Repository.Repository
{
    public interface IEnergyConsumptionRepository
    {
     
        public List<energy_consumption_statistics> getStatistics(DateTime date, bool pieChart);

        public List<pieData> getPieData(DateTime date);

        public List<GramData> getExpenseData(DateTime date);

        public List<GramData> getConsumptionData(DateTime date);
        public List<CompareData> getCompareData(DateTime date, string category);

        public ReturnData getConsumptionStatistics(DateTime startTime, DateTime endTime, string category);


        public ReturnData getExpensstatistics(DateTime startTime, DateTime endTime, string category);

        /// <summary>
        /// xx碳排放总量页面接口 根据开始时间结束时间查sql
        /// </summary>
        /// <returns></returns>
        public List<energy_carbon_emission> GetEnergyConsumption(DateTime StartTime,DateTime EndTime);

        /// <summary>
        /// 碳中和率页面
        /// </summary>
        /// <param name="StartTime"></param>
        /// <param name="EndTime"></param>
        /// <returns></returns>
        public List<energy_carbon_emission> getCarbonMedium(DateTime StartTime, DateTime EndTime);
    }
}
